// ---------------------------------------账户余额---------------------------------------
// ---------------------------------------账户余额点击效果---------------------------------------
document.querySelector(".content .content-bd .col-main .user-preview .pay-box .manage-money .ab-tab-hd").onclick = (function(event){
    var element = event.target
    var colli = document.querySelectorAll(".content .content-bd .col-main .user-preview .pay-box .manage-money .ab-tab-hd li")
    for(var i = 0;i < colli.length;i++){
         colli[i].className = ""
         console.log(colli[i].className)
       }
       element.className = "ab-afli"
})

// ---------------------------------------订单预览3个状态切换隐藏浏览框---------------------------------------
document.querySelector(".content .content-bd .col-main .user-preview .pay-box .manage-money .ab-tab-hd #l1").onclick = function(){
  document.querySelector(".content .content-bd .col-main .user-preview .pay-box .bd").style.display="block"
  document.querySelector(".content .content-bd .col-main .user-preview .pay-box .bd1").style.display="none"
}

document.querySelector(".content .content-bd .col-main .user-preview .pay-box .manage-money .ab-tab-hd #l2").onclick = function(){
    document.querySelector(".content .content-bd .col-main .user-preview .pay-box .bd").style.display="none"
    document.querySelector(".content .content-bd .col-main .user-preview .pay-box .bd1").style.display="block"
}

